03d72ab48ddd551dd055be43b161c8dd630b1963,platform/lang-impl/src/com/intellij/openapi/util/SwitchBootJdkAction.java,SwitchBootJdkAction,findJdkPaths,#,241

Before Change


    JdkBundle bootJdk = JdkBundle.createBoot();

    JdkBundleList jdkBundleList = new JdkBundleList();
    jdkBundleList.addBundle(bootJdk, true);

    if (bundledJdkFile.exists()) {
      JdkBundle bundledJdk = JdkBundle.createBundle(bundledJdkFile, false, true);

After Change



    JdkBundleList jdkBundleList = new JdkBundleList();
    if (bootJdk != null) {
      jdkBundleList.addBundle(bootJdk, true);
    }

    if (bundledJdkFile.exists()) {